//
//  MCHongBaoSlideView.h
//  XDYL
//
//  Created by MC on 2018/3/20.
//  Copyright © 2018年 TLYL01. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MCReceivedHongBaoCollectionViewCell.h"
#import "MCSendHongBaoCollectionViewCell.h"


@protocol MCHongBaoSlideDelegate <NSObject>

@required



@end


@interface MCHongBaoSlideView : UIView

@property(nonatomic,strong)UICollectionView *collectionView;

@property(nonatomic,strong)NSArray *titleArray;

@property(nonatomic,strong)NSArray *selectedTitleArray;

@property(nonatomic,strong)UIColor *normalColor;

@property(nonatomic,strong)UIColor *selectedColor;

@property(nonatomic,strong)UIColor *SlideSelectedColor;

+(MCHongBaoSlideView *)segmentControlViewWithFrame:(CGRect)frame;

-(void)btnTouch:(UIButton *)sender;

@property (nonatomic, weak) id<MCHongBaoSlideDelegate>delegate;


@property (nonatomic, weak)MCReceivedHongBaoCollectionViewCell *receivedHongBaoCollectionViewCell;
@property (nonatomic, weak)MCSendHongBaoCollectionViewCell *sendHongBaoCollectionViewCell;
@property (nonatomic, strong)NSString * slideTitle;


#pragma mark-专门为会员红包记录定制
-(void)setHuiYuanUI;


@end





















